﻿using System;
using System.Collections.Generic;
using System.Net;

namespace GianosNET.Common.Classes
{
    public class AuthenticatedUser
    {
        private string username;
        private EndPoint ip;
        private Guid token;

        public AuthenticatedUser(string username, EndPoint ip, Guid token)
        {
            this.username = username;
            this.ip = ip;
            this.token = token;
        }

        public string Username
        {
            get { return username; }
        }

        public EndPoint Ip
        {
            get { return ip; }
        }

        internal Guid Token
        {
            get { return token; }
        }
    }

    public class AuthenticatedUserCollection : Dictionary<Guid, AuthenticatedUser>
    {
        
    }
}